﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Lx.Web.Common.ControlsUI;
using BLF.WWW_WWW.Files;
using Model.WWW_WWW.files;

namespace Web.Control.WWW.files
{
    public class Upload : BaseControl
    {
        protected override void OnLoad(EventArgs e)
        {
            if (HttpContext.Current.User.Identity.Name == "")
            {
                Page.Response.Redirect(WWWHost + "/User/login.htm?ReturnUrl=" + Page.Request.Url.AbsoluteUri);
                return;
            }
            base.OnLoad(e);
        }
    }
}